package com.jinke.api.modules.ums.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jinke.api.modules.base.model.BaseEntity;
import com.jinke.api.modules.base.model.BaseEntityLong;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author macro
 * @since 2023-07-13
 */
@Getter
@Setter
@TableName("ums_admin_log")
@ApiModel(value = "UmsAdminLog对象", description = "")
@Accessors(chain = true)
public class UmsAdminLog extends BaseEntityLong {

    @ApiModelProperty("管理员ID")
    private Long adminId;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("访问路径")
    private String uri;

    @ApiModelProperty("请求参数")
    private String params;

    @ApiModelProperty("访问方式")
    private String method;

    @ApiModelProperty("UA")
    private String userAgent;

    @ApiModelProperty("提示语")
    private String message;

    @ApiModelProperty("IP地址")
    private String ip;

    @ApiModelProperty("请求结果CODE")
    private Integer statusCode;

}
